<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
    <!-- Loading Bootstrap -->
    <link href="/static/admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
    <!-- Loading Flat UI -->
    <link href="/static/admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
    <link href="/static/admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
    <link rel="shortcut icon" href="/static/admin/Flat/img/favicon.ico">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="dist/js/vendor/html5shiv.js"></script>
    <script src="dist/js/vendor/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<form action="/admin/authrule/{$ruleData.id}" method="post">
    <input type="hidden" name="_method" value="PUT">
    <div class="alert alert-success">编辑权限</div>
    <div class="form-group">
        <label for="title">权限名称</label>
        <input required id="title" class="form-control" type="text" placeholder="请输入权限名称" name="title" value="{$ruleData.title}">
    </div>

    <div class="form-group">
        <label for="name">权限规则(模块/控制器/方法)</label>
        <input required id="name" class="form-control" type="text" placeholder="权限规则(模块/控制器/方法)" name="name" value="{$ruleData.name}">
    </div>
    <button class="btn btn-primary btn-block" type="submit">确定</button>
</form>
</body>
</html>
